<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>留言板首页</title>
	<link rel="stylesheet" href="Tpl/css/bootstrap.min.css">
	<style type="text/css">
        .col-md-12 .content{
        	width:100%;
        }

        #online{
        	position: relative;width:100%;height: 51.6px;/*background: red;*/top:-71.6px;
        }
        .login{
        	width:260px;position: absolute;top:10px;right:550px;
        }

        .not_online{
        	width:500px;position:absolute;top:10px;right:0;
        }

	</style>
</head>
<body>
    <!-- 导航条 -->
    <div>
    	
    	<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-9">
    	    <nav class="navbar navbar-inverse">
            <ul class="nav navbar-nav">
	            <li class="active"><a href="#">留言</a></li>
	            <li><a href="zhuce.php">注册</a></li>
	            <li><a href="login.php">登录</a></li>
            </ul>
            </nav>
        </div>
   <div class="container main">
      <!-- Example row of columns -->
      <div class="col-md-12" style="margin-top:20px;">
        <?php if(isset($error)) { ?>
            <div class="alert alert-danger" role="alert">
        <?php }else{ ?>
            <div class="alert alert-success" role="alert">
        <?php }?>
        <strong>你好</strong><?php echo $info ?>,<?php echo $time ?>后跳转到 <?php echo $url ?>
      </div>
      </div>
      <hr>

      <footer>
        <p>© 2016 Company, Inc.</p>
      </footer>
    </div> 
    <script type="text/javascript">

        function run () {
            location.replace('<?php echo $url ?>');
        }
        setTimeout(run, <?php echo $time*1000 ?>);

    </script>
  

</body>
</html>